Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose featureCount property. Fixes #40. #41

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

stevage
Copy link

@stevage stevage commented Jan 5, 2018

No description provided.

@mbostock
Copy link
Owner

mbostock commented Jan 9, 2018

Could we call it “size” instead of “featureCount”?

@stevage
Copy link
Author

stevage commented Jan 9, 2018

Might be confused with file size, but up to you.

Copy link

@petitlegume petitlegume left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It shoud use getUint32 instead of getUint16. The number of records in the file refers to the byte offset 4 - 7 in the DBF head.

petitlegume pushed a commit to petitlegume/shapefile that referenced this pull request Jan 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants